package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 描述：圣代_评论（订单，人员，或动态）_实体。
 */
@Entity(value="SundayComment", noClassnameStored=true)
public class SundayComment extends BaseMongoEntity{
    //基本属性
    private Long outClassId;//被评价实体ID
    private String outClassName;//被评价实体名称。类名简写
    private Long memberId;//用户Id
    private String memberName;//用户昵称
    private String memberImage;//用户头像
    private Integer score;//评分。1-5
    private String content;//内容

    public SundayComment() {
    }

    public SundayComment(Long outClassId, String outClassName, Long memberId, String memberName, String memberImage, Integer score, String content) {
        this.outClassId = outClassId;
        this.outClassName = outClassName;
        this.memberId = memberId;
        this.memberName = memberName;
        this.memberImage = memberImage;
        this.score = score;
        this.content = content;
    }

    public Long getOutClassId() {
        return outClassId;
    }

    public void setOutClassId(Long outClassId) {
        this.outClassId = outClassId;
    }

    public String getOutClassName() {
        return outClassName;
    }

    public void setOutClassName(String outClassName) {
        this.outClassName = outClassName;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberImage() {
        return memberImage;
    }

    public void setMemberImage(String memberImage) {
        this.memberImage = memberImage;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
